﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;


namespace EIS.Obj
{

    public sealed class GlobalVariable
    {
        private static readonly GlobalVariable instance = new GlobalVariable();
        public string CurrentToken { get; set; }
        public List <string> ActiveFunctionID { get; set; }
        public string  FunctionIDOnDsiaply { get; set; }
        public bool ShowingError { get; set; }
        public string CurrentFunctionID;
        public UserControl CurrentViewHandler;
        public bool FecthingData { get; set; }
 
        public string ServerRootURL;
        //public string ServerRootURL = "http://192.168.10.106:8080/eistech/rest/";
        public UserLogonResponse LogonResult;
        private GlobalVariable()
        {
           ActiveFunctionID = new List<string>();
        }

        public static GlobalVariable Instance
        {
            get { return instance; }
        }


    }
}